package epam.airline.domain;

import java.util.List;

public class Airline {
	private String NameAirline;
	private List<Flight> flight;

	public Airline(String nameAirline, List<Flight> flight) {
		NameAirline = nameAirline;
		this.flight = flight;
	}

	public Airline(String nameAirline) {
		NameAirline = nameAirline;
	}

	public String getNameAirline() {
		return NameAirline;
	}

	public void setNameAirline(String nameAirline) {
		NameAirline = nameAirline;
	}

	public List<Flight> getFlight() {
		return flight;
	}

	public void setFlight(List<Flight> flight) {
		this.flight = flight;
	}

}
